<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('X')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-x" class="form-control" name="row[x]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-y" class="form-control" name="row[y]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Font')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-font" class="form-control" name="row[font]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Initial')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-initial" class="form-control" name="row[initial]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_id" data-rule="required" data-source="p/index" class="form-control selectpage" name="row[p_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fontcate_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fontcate_id" data-rule="required" data-source="fontcate/index" class="form-control selectpage" name="row[fontcate_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-b_id" data-rule="required" data-source="b/index" data-params='{"custom[status]":"1"}' class="form-control selectpage" name="row[b_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-biaoge" class="control-label col-xs-12 col-sm-2">字库表格:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-biaoge" data-rule="" class="form-control" size="50" name="row[biaoge]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-biaoge" class="btn btn-danger plupload" data-input-id="c-biaoge" data-mimetype="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text/csv" data-multiple="false" data-preview-id="p-biaoge"><i class="fa fa-upload"></i> 上传</button></span>
                    <span><button type="button" id="fachoose-biaoge" class="btn btn-primary fachoose" data-input-id="c-biaoge" data-mimetype="application/*" data-multiple="false"><i class="fa fa-list"></i> 选择</button></span>
                </div>
                <span class="msg-box n-right" for="c-biaoge"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-biaoge"></ul>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
